<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Uber.WebUI.Models.PayRequestInput>" %>

<%@ Import Namespace="Uber.WebUI.Controllers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Add
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Request payment to be sent to your paypal account (your e-mail registered to
                paypal)</h2>
                <br />
                You have <% Html.RenderAction<GoldController>(o => o.Index()); %> credits
    <div class="inputform">        
        <% using (Html.BeginForm())
           {%>
        <fieldset>
            
            <div class="efield">
                <label for="Amount" class="elabel">
                    Amount</label>
                <div class="einput">
                    <%=Html.TextBoxFor(o => o.Amount) %>
                    <%=Html.ValidationMessageFor(o => o.Amount) %>
                </div>
            </div>
            <div class="efield">
                <label for="Email" class="elabel">
                    Paypal account</label>
                <%=Html.TextBoxFor(o => o.Email) %>
                <%=Html.ValidationMessageFor(o => o.Email) %>
            </div>
            <div class="efield">
                <label for="ConfirmEmail" class="elabel">
                    Confirm Paypal account</label>
                <%=Html.TextBoxFor(o => o.ConfirmEmail) %>
                <%=Html.ValidationMessageFor(o => o.ConfirmEmail) %>
            </div>
            <div class="esubmit"><%=Html.SubmitButton("submit","submit") %></div>
        </fieldset>
        <%
            }%>
    </div>
</asp:Content>
